public class Test {
    public static void main(String[] args) {
        BinaryTree tree =new BinaryTree();
        BinaryTree tree2=new BinaryTree();
        tree.createBinaryTree();
        tree2.createBinaryTree();
        //tree.preOrder(tree.root);
        //tree.inOrder(tree.root);
        //tree.postOrde(tree.root);
        //tree.sequenceOrde(tree.root);
        //System.out.println(tree.getLeafNoteSub(tree.root));
        //System.out.println(tree.sequenceOrderArrayList(tree.root));
        //System.out.println(tree.getKLevelTreeNote(tree.root, 1));
        //System.out.println(tree.getTreeHeight(tree.root));
        //System.out.println("=============");
        //System.out.println(tree.find(tree.root, 6));
        //System.out.println(tree.isCompleteTree(null));
        //tree.sequenceOrdeQuene(tree.root);
        //System.out.println(tree.isSameTree(tree.root, tree2.root));
        //tree.mirrorTree(tree.root);
        System.out.println(tree.isBalanced9(tree.root));

    }
}
